package com.mapper;

import com.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author: Zs
 * @date:2022/6/26 17:01
 */
public interface SQLMapper {
    //用List集合嵌套Map集合用来模糊查询
    List<Map<String,Object>> getUserByLike(@Param("username")String username);
    //根据Id删除用户信息
     int deleteMore(@Param("ids") String ids);
    //动态SQL获取表中数据
    List<User>gettableName(@Param("tables") String tableName);

}
